﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once        
#include "IFamilyDimensionConstraint.h"
#include "GmFamilyService.h"

namespace gfam
{

    /// \brief  半径约束
    class GM_FAMILY_SERVICE_EXPORT IFamilyRadiusConstraint : public IFamilyDimensionConstraint
    {
        DEFINE_CAST_DERIVED(gfam::IFamilyRadiusConstraint, gfam::IFamilyDimensionConstraint)
    public:

        /// \brief  创建半径约束
        ///
        /// \param  pDocument  文档
        /// \param  sketchId 草图id
        /// \param  option  创建选项
        /// \return 半径约束
        static IFamilyRadiusConstraint* Create(gcmp::IDocument* pDoc, const gcmp::ElementId& sketchId, gcmp::ElementCreationOptions option);

    };
}